export const isImg = (url) => {
  if (!url) {
    return false
  }
  const cmpUrl = url.split('?')[0]
  return ['gif', 'jpeg', 'png', 'jpg', 'bmp'].some(i => cmpUrl.endsWith(i))
}
